﻿using SqlSugar;

namespace DatabaseCore.Modal
{

    [SugarTable("sys_field_mapping")]
    public class SystemFieldMapping
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        [SugarColumn(ColumnName = "table_name")]
        public string TableName { get; set; }

        [SugarColumn(ColumnName = "table_alias")]
        public string TableAlias { get; set; }

        [SugarColumn(ColumnName = "field_name")]
        public string FieldName { get; set; }

        [SugarColumn(ColumnName = "field_alias")]
        public string FieldAlias { get; set; }
    }
}
